﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewCoup.aspx.cs" Inherits="CampanyCMS.WebUI.Admin.Coupon.ViewCoup" %>

 
<%@ Register Assembly="My97" Namespace="My97" TagPrefix="cc2" %>
<%@ Register TagPrefix="cc1" Namespace="COM.ZTE.TPG.App.UI.WebForm" Assembly="COM.ZTE.TPG.App.UI.WebForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>ProductsList</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">
</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td>
                <div class="div_subtitle">
                                        当前位置：</div>
            </td>
        </tr>
    </table>
    <table id="tb_content" cellspacing="0" cellpadding="0" align="center">
        <tbody>
            <tr>
                <td>
                    <cc1:ZteGrid ID="dgCoupon" runat="server" CssClass="tb_datalist" PageChange="TextBox"
                        Width="100%" AllowPaging="True" PageLanguage="Chinese" IsAllowPaging="True" BorderWidth="0px"
                        CellSpacing="1" AutoGenerateColumns="False" CacheData="ServerCach" SortMode="Total"
                        PageCSS="scrollButton" OnItemCommand="dgCoupon_ItemCommand" OnItemDataBound="dgCoupon_ItemDataBound"
                        BorderStyle="Solid">
                        <AlternatingItemStyle CssClass="tr_even" BackColor="#F7F9FE"></AlternatingItemStyle>
                        <FooterStyle BackColor="#E8E8E8"></FooterStyle>
                        <ItemStyle BorderColor="White" BackColor="White"></ItemStyle>
                        <Columns>
                            <asp:BoundColumn Visible="False" DataField="CouponUsedid" HeaderText="CouponId"></asp:BoundColumn>
                             
                           <asp:BoundColumn DataField="CouponNo" HeaderText="优惠号"></asp:BoundColumn>
                            <asp:BoundColumn DataField="UserName" HeaderText="用户名"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Orderno" HeaderText="订单号"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Amount" HeaderText="数量"></asp:BoundColumn>
                            
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    操作
                                </HeaderTemplate>
                                <ItemTemplate>
                                   
                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <HeaderStyle CssClass="tr_title" BackColor="LightGray"></HeaderStyle>
                        <SelectedItemStyle CssClass="tr_selected" BackColor="#D8D8D8"></SelectedItemStyle>
                        <PagerStyle CssClass="tr_pagenumber"></PagerStyle>
                    </cc1:ZteGrid>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
